package com.shensi.api.pay.client;

import com.shensi.common.core.constant.CloudConstant;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

/*
 * <Title> LabelController </Title>
 * <Description> 标签模块 </Description>
 * @Date 2021年7月15日
 */

@FeignClient(name = CloudConstant.PAY_SERVER)
public interface LabelClient {


    //用户扫码进标签
    @RequestMapping(value = "/addUserToLabel", method = RequestMethod.GET)
    @ResponseBody
    //@ApiOperation(value = "用户扫码进标签", httpMethod = "GET", notes = "用户扫码进标签")
    public String addUserToLabel(@ApiParam(value = "油站ID", required = true) @RequestParam("stationId") Integer stationId,
                                 @ApiParam(value = "手机号", required = true) @RequestParam("phone") String phone,
                                 @ApiParam(value = "标签ID", required = true) @RequestParam("labelId") String labelId,
                                 @ApiParam(value = "创建人", required = true) @RequestParam("createBy") String createBy);
}
